package com.qingfeng.client.DO;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/3/11 11:31 上午
 */
@ApiModel(value = "订单查询返回结果")
@Data
public class OrderStoreDo  {

    @ApiModelProperty(value = "订单id")
    private Long id;
    @ApiModelProperty(value = "物流类型，1邮寄2自提")
    private Integer type;

    @ApiModelProperty(value = "店铺id")
    private Integer storeId;

    @ApiModelProperty(value = "交易id")
    private Long tradeId;

    @ApiModelProperty(value = "优惠券id")
    private Long couponId;

    @ApiModelProperty(value = "优惠券名称")
    private String couponName;

    @ApiModelProperty(value = "优惠金额")
    private Integer saveMoney;

    @ApiModelProperty(value = "用户id")
    private Long buyerId;

    @ApiModelProperty(value = "物流id")
    private Long logisticsId;

    @ApiModelProperty(value = "运费")
    private Integer freight;

    @ApiModelProperty(value = "商品价格")
    private Integer price;

    @ApiModelProperty(value = "订单状态")
    private Integer stat;

    @ApiModelProperty(value = "总价")
    private Integer payment;

    @ApiModelProperty(value = "用户备注")
    private String comment;

    @ApiModelProperty(value = "店铺信息")
    private String storeName;

    @ApiModelProperty(value = "订单创建时间")
    private Integer createTime;

    @ApiModelProperty(value = "支付时间")
    private Integer payTime;

    @ApiModelProperty(value = "关闭时间")
    private Integer finishTime;


    @ApiModelProperty(value = "订单信息")
    private List<OrderGoodsDo> orderGoodsBeans;

}
